package com.istudy.dao.xyjdao;

import java.sql.SQLException;

/**
 * @author xdd
 * @create 2020-08-25 10:08
 */
public interface UserIntDao {

    /**
     * 根据指定的用户进行相应的扣费
     * @param userId 用户id
     * @param videoConsume 扣费金额
     * @return 是否扣费成功
     */
    int UserDeduction(int userId, int videoConsume) throws SQLException;

}
